package com.blb.day15_restful.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("tb_book")
public class Book {

  @TableId(type = IdType.AUTO)
  private long id;
  private String bookName;
  private double price;
  private long typeId;
  private String author;
  private String publishOrg;
  private String publishTime;
  private long state;
  private String bookImage;
}
